import {Injectable,Inject} from '@nestjs/common'

@Injectable()
export class LoggerService{
    constructor(
        @Inject('SUFFIX') private apiSuffix?:any
    ){
        console.log('LoggerService',"@Inject('SUFFIX')",this.apiSuffix);
    }
    hello(){
        console.log('hello logger.service')
    }
}

@Injectable()
export class UserValueService{
    constructor(
        a?:string,
    ){
        console.log('useValue class args:',a);
    }
    hello(){
        console.log('UserValueService')
    }
}


@Injectable()
export class UseFactory{
    constructor(a1?:string,a2?:string){
        console.log('useFactory args',a1,a2)
    }
    hello(){
        console.log('hello useFactory')
    }
}